package com.bsoft.gol.hcs.specialist.bean;

import lombok.Data;
import com.bsoft.gol.hcs.specialist.bean.response.FactorData;
import com.bsoft.gol.hcs.specialist.entity.FollowUpRoute;
import com.bsoft.gol.hcs.specialist.entity.FollowUpRouteDetail;
import com.bsoft.gol.hcs.specialist.entity.FollowUpRouteDetailForm;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 生成随访计划上下文
 *
 * @author neoLin - 2022/06/07 09:59
 **/
@Data
public class ProduceFusStatement {


    /**
     * 随访路径
     */
    private FollowUpRoute followUpRoute;

    /**
     * 随访路径详情
     */
    private FollowUpRouteDetail followUpRouteDetail;

    /**
     * 操作人id
     */
    private String operatorId;

    /**
     * 是否循环执行
     */
    private Byte isLoopExecute;

    /**
     * 病人因素信息存储集合，key是病人id，value是按顺序存储的因素数据集合
     */
    private Map<String, List<FactorData>> patientInfoMap = new HashMap<>(256);

    /**
     * 提前通知患者日期
     */
    private Integer advanceNotifyDate;

    /**
     * 随访路径详情关联表单
     */
    List<FollowUpRouteDetailForm> followUpRouteDetailForms;

    /**
     * 机构编码
     */
    private String organizationId;

    /**
     * 租户编码
     */
    private String tenantId;
}
